nested vmx: Use a list to store the launched vvmcs for L1 VMM
authorDongxiao Xu <dongxiao.xu@intel.com>
Fri, 25 Jan 2013 09:17:00 +0000 (10:17 +0100)
committerDongxiao Xu <dongxiao.xu@intel.com>
Fri, 25 Jan 2013 09:17:00 +0000 (10:17 +0100)
commit806c9ba5830cf6b2ea2ab6d1605ef7351e62edfa
tree7188262aa7611bf62b9189d747b5d01f3439d19b
parent28d0ffd3e20112e0daf0ab67f35cfd720b28a991
nested vmx: Use a list to store the launched vvmcs for L1 VMM

Originally we use a virtual VMCS field to store the launch state of
a certain vmcs. However if we introduce VMCS shadowing feature, this
virtual VMCS should also be able to load into real hardware,
and VMREAD/VMWRITE operate invalid fields.

The new approach is to store the launch state into a list for L1 VMM.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by Eddie Dong <eddie.dong@intel.com>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vmx/vvmx.c
xen/include/asm-x86/hvm/vmx/vmcs.h
xen/include/asm-x86/hvm/vmx/vvmx.h